package cn.zn.modules.pz.cur.service.print.tmpl;

import cn.hutool.core.util.NumberUtil;

/**
 * 许职
 *
 * @author ZN
 */
public class PrintTmplXZ implements PrintTmpl {
    @Override
    public String getPrintTmpl(Double money) {
        String templateName = "";
        if (NumberUtil.compare(money, 1000) <= 0) {
            templateName = "myPrint1_1";
        } else if (NumberUtil.compare(money, 1000) > 0 && NumberUtil.compare(money, 30000) <= 0) {
            templateName = "myPrint1_3";
        } else if (NumberUtil.compare(money, 30000) > 0 && NumberUtil.compare(money, 50000) <= 0) {
            templateName = "myPrint1_4";
        } else if (NumberUtil.compare(money, 50000) > 0) {
            templateName = "myPrint1_5";
        }
        return templateName;
    }
}
